package com.lyw.login.api

import com.lu.library.http.ApiResponse
import com.lyw.login.bean.LoginReq
import com.lyw.login_api.bean.UserInfo
import retrofit2.http.Body
import retrofit2.http.POST

interface LoginApi {

    @POST("/user/login")
    suspend fun login(@Body req: LoginReq):ApiResponse<UserInfo>
}